Remove the blacklist list in convert-emoji.c since now it is supported
authorMathieu H <wiiu3dsxl13127@gmail.com>
Mon, 13 Apr 2020 15:27:40 +0000 (15:27 +0000)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 13 Apr 2020 20:29:02 +0000 (16:29 -0400)
gtk/emoji/convert-emoji.c
gtk/emoji/emoji.data

index 202ca3f4815df26666069f52304094f647981aaf..92bf66b385b1e356a203fcdd3fd5d784295988ab 100644 (file)
@@ -55,35 +55,6 @@ parse_code (GVariantBuilder *b,
   return TRUE;
 }
 
-static const char *blacklist[] = {
-  "child",
-  "adult",
-  "older adult",
-  "woman with headscarf",
-  "bearded person",
-  "breast-feeding",
-  "mage",
-  "fairy",
-  "vampire",
-  "merperson",
-  "merman",
-  "mermaid",
-  " elf", // avoid matching selfie
-  "genie",
-  "zombie",
-  "in steamy room",
-  "climbing",
-  "in lotus position",
-  "person in bed",
-  "man in suit levitating",
-  "horse racing",
-  "snowboarder",
-  "golfing",
-  "love-you gesture",
-  "palms up together",
-  NULL
-};
-
 int
 main (int argc, char *argv[])
 {
@@ -171,21 +142,6 @@ main (int argc, char *argv[])
       name = json_object_get_string_member (obj, "name");
       code = g_strdup (json_object_get_string_member (obj, "code"));
 
-      if (strcmp (name, "world map") == 0)
-        continue;
-
-      skip = FALSE;
-      for (j = 0; blacklist[j]; j++)
-        {
-          if (strstr (name, blacklist[j]) != 0)
-            {
-              skip = TRUE;
-              break;
-            }
-        }
-      if (skip)
-        continue;
-
       has_variations = FALSE;
       while (i < length)
         {
index fdf919d66f49c9e2256fc9cf705df58c231e88bf..15d093d933e9f685b945b6ff8671136458a16481 100644 (file)
Binary files a/gtk/emoji/emoji.data and b/gtk/emoji/emoji.data differ